﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Vds2465Control;
using Vds2465Telegrams;

namespace Vds2465Control_Test
{
	[TestClass]
	public class S4_Test
	{
		[TestMethod]
		[Owner("Frank Eppink")]
		public void Test01()
		{
			SInterface4 s4 = new SInterface4();
			Telegram_Returning telegramReturning = new Telegram_Returning(eDirection.ATE_to_RCT, 0x55, eTelegramFunction_Returning.FC_ERROR, true, true);

			TargetSerial dummySerial = new TargetSerial();
			s4.SendTelegram(telegramReturning, dummySerial);

			// TODO: test correct validation check of Telegram with 52H or 53H user data which is not allowed for S4 interface
		}
	}
}
